﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dominion.Core;

namespace Dominion.Core
{
    public class ThiefBehavior : Behavior
    {
     
        public IList<Treasure> CardsToTrash { get; set; }
        public IList<Treasure> CardsToSteal { get; set; }

        public override void Run(Player player)
        {
            foreach (Treasure c in CardsToTrash)
                player.Trash(c);

            foreach (Treasure c in CardsToSteal)
                player.Cards.Discard.Push(c);
        }

       
    }
}
